package com.zmn.oms.common.dio.redistribute;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class EngineerRedistributeQuery implements Serializable {

    private static final long serialVersionUID = -89212859653158737L;
    @ApiModelProperty("订单号")
    @NotNull(message = "订单号不能为空")
    private Long orderId;

    @ApiModelProperty("工单号")
    @NotNull(message = "工单号不能为空")
    private Long workId;

    @ApiModelProperty("预约时间")
    private Date dutyTime;

    @ApiModelProperty("网格类型")
    private Integer distributeGrid;

    @ApiModelProperty(value = "需排除的工程师id列表", notes = "暂时无用")
    private List<Integer> excludeEngineerIdList;

    @ApiModelProperty("产品ID")
    private Integer productId;

    @ApiModelProperty("服务分类")
    private Integer servCategId;

    @ApiModelProperty("二级分类")
    private Integer categId;

    @ApiModelProperty("区")
    private Integer countyId;

    @ApiModelProperty("街道")
    private Integer streetId;

    @ApiModelProperty("纬度")
    private Double latitude;

    @ApiModelProperty("经度")
    private Double longitude;

}
